package com.example.eurekaclient_provider1.controller;

import com.example.eurekaclient_provider1.domain.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * ClassName:FeignHystrixController
 * Package:com.bjpowernode.springcloud.controller
 * Description: 描述信息
 *
 * @date:2021/12/20 14:52
 * @author:动力节点
 */
@RestController
@RequestMapping("/provider/feign")
public class FeignHystrixController {

    @GetMapping("/hystrix/01")
    public R provider01(){
        int i=1/0;
        return R.ok(0,"远程调用成功...");
    }

}
